package com.iot.iotplus.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@TableName("mqtt_user")
public class MqttUser {
    @TableId
    private Integer id;
    @TableField("username")
    private String username;
    @TableField("password")
    private String password;
    private String salt;
    private Integer isSuperuser;
    private Date created;
    private String tenantId;
}
